package com.neusoft.neuiotms.dcam.fixed.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcam.fixed.dto.StorehouseDTO;

public interface StorehouseService {

    List<StorehouseDTO> findAll();

    Page<StorehouseDTO> search(Pageable pageable, Searchable searchable);

    StorehouseDTO create(StorehouseDTO dto);

    StorehouseDTO update(Long id, StorehouseDTO dto);

    StorehouseDTO details(Long id);

    void delete(Long id);

    void statusChange(Long id, String flag);

}
